<?php
/**
 * Search a Mission
 *
 * @author Xavier VILAIN
 *
 */
use Fox\Html\Button;
use Fox\MaterialManagement\Material;
use Fox\Html\Anchor;
use Fox\SearchEngine;


$searchScreen = new Fox\Html\Screen\Search\Basic('search',new Material\Text(),array('label' => false),null,10);
$searchScreen->screen()->pageTitle(Msg(Material::BUNLDE_NAME,17));
$searchScreen->screen()->toolbar()->add(new Button('create',Fox\Generator::url('material','create')));
$searchScreen->grid(Xview::instance()->component('material','result'));
$searchScreen->searchEngineOptions(SearchEngine::MODE_LIKE);
return $searchScreen->render();